package com.smartalarmclock.Model;


import android.content.Context;

interface IReferencingMultipleDataEntity extends IReferencingDataEntity {

	/**
	 * Loads the references from the referencing table in the DB.
	 * @param context the context of the request
	 * @param referenceType the type of the references to load.
	 */
	void LoadReferences(Context context, Class<?> referenceType);
	
	/**
	 * Saves the references in the referencing table in the DB.
	 * @param context the context of the request 
	 * @param referencedEntity the referenced entity to save
	 */
	void SaveReferenceConnection(Context context, IReferencedDataEntity referencedEntity);
	
	/**
	 * Deletes the references from the referencing table in the DB.
	 * @param context the context of the request
	 * @param referencedEntity the referenced entity to delete
	 */
	void DeleteReferenceConnection(Context context, IReferencedDataEntity referencedEntity);
}
